package com.xyht.sca_s.student_manage_system.modules.assetConsumable.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.SmsAssetConsumableReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.req.SmsAssetConsumableReturnApplyAllowReq;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.req.SmsAssetConsumableReturnApplyReq;

/**
 * <p>
 * 低值易耗品归还申请 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-09-25
 */
public interface SmsAssetConsumableReturnApplyService extends IService<SmsAssetConsumableReturnApply> {

    ResponseResult smsAssetConsumableReturnApplyAdd(SmsAssetConsumableReturnApplyReq applyReq, String userId);

    ResponseResult smsAssetConsumableReturnApplyCancel(SmsAssetConsumableReturnApplyReq cancelReq, String userId);

    ResponseResult smsAssetConsumableReturnApplyAllow(SmsAssetConsumableReturnApplyAllowReq allowReq, String userId);

    ResponseResult getAssetConsumableReturnApplyList(Integer pageSize, Integer pageNum, Integer applyType, String userId);

    ResponseResult getAssetConsumableReturnApplyDetail(String applyId, String userId);

    ResponseResult selectAssetConsumableReturnApply(String applyPerson, String searchStr, String applyDepartment,String applyName,Integer allowStatus,Integer pageSize, Integer pageNum);
}
